<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>7.解构赋值</title>
	</head>
	<body>
		<script type="text/javascript" >
			let obj = {a:1,b:{x:99}}
			const {a,b:{x:y}} = obj


			console.log(a)
			console.log(y)
			
		</script>
	</body>
</html>